package com.sxj.corejava.code07_面向对象.继承;

/**
 * @author 石小俊
 * @date 2025年07月21日 10:16
 */
public class Test03_构造方法调用 {

    public static void main(String[] args) {
//        Dog dog = new Dog();
//        Dog dog = new Dog("旺财",5,"公");
        Dog dog = new Dog("旺财",5,"公","子类");
        dog.show();
    }

}
